<div id="w">
    
    <div id="list-left"> 
    <table width="300" border="0">
      <tbody><tr> 
        <td width="105" rowspan="3"><img src="<?php echo format_avatarurl($user); ?>" width="90" height="90" title="<?php echo $user->username ; ?>"></td>
        <td width="182" height="30">网盘达人名称：</td>
      </tr>
      <tr> 
        <td><b><font color="#FF0000"><?php echo $user->username ; ?></font></b></td>
      </tr>
	  <tr> 
        <td>用户ID：<?php echo $user->uid ; ?></td>
      </tr>
    </tbody></table>
    <div class="line"></div>
		<h2>Ta分享的热门资源：</h2>
		<?php foreach($hots as $k=>$hot): ?>
			<img src="<?php echo $image_path; ?>sz<?php echo $k ; ?>.gif" width="20" height="20" align="absmiddle"> 
			<a href="<?php echo site_url("detail/index-".$hot->rid); ?>" title="<?php echo $hot->title; ?>" target="_blank"><?php echo leftstring($hot->title,18); ?></a>
			<div class="line"></div>
		<?php endforeach; ?>
	</div>

	<div id="list-right">

		<ul class="section clearfix">
		<?php foreach($lists as $item): ?>
			<li class="post clearfix">
				<div class="review">
					<img src="<?php echo format_thumburl($item) ; ?>" width="100px" height="70px" align="absmiddle">
				</div>
				<div class="entry">
					<h2><a href="<?php echo site_url("detail/index-".$item->rid); ?>" title="<?php echo $item->title; ?>" target="_blank"><?php echo leftstring($item->title,26); ?></a></h2>
					<div class="desc1">大小：400KB &nbsp;&nbsp;&nbsp; 分享时间：<?php echo format_date('Y-m-d' ,$item->created); ?></div>
					<div class="view" style="right:1%;">
						<a title="共 <?php echo $item->view_count; ?> 次阅读" href="<?php echo site_url("detail/index-".$item->rid); ?>"><?php echo $item->view_count; ?></a>
					</div>
				</div>
			</li>
		<?php endforeach; ?>
		</ul>

	共有 <font class="red"><?php echo $totalcount ; ?></font> 条记录
	<?php if (count($pagination) > 0): ?>
	<div class="pagination">
		<ul id="pagination">
		<?php foreach($pagination as $item): ?>
			<?php if(isset($item['active'])): ?>
				<li class="active"><span><?php echo is_numeric($item['title']) ? $item['title'] : $item['title'] ?></span></li>
			<?php else: ?>
				<li><?php echo anchor($item['value'], is_numeric($item['title']) ? $item['title'] : $item['title']) ?></li>
			<?php endif?>
		<?php endforeach ?>
		</ul>
	</div>
	<?php endif ?>
<br>
</div>